package com.kun.service_order.client;

import com.kun.vo.UcenterMemberOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("service-member")
public interface MemberClient {
    @PostMapping("/service_member/ucenter-member/getUserInfoById/{id}")
    UcenterMemberOrder getMemberOrder(@PathVariable("id") String id);
}
